@extends('public.dashboard_base')
@section('title', '我的模板')

@section('content')
    <div class="control_panel_content">
        <div class="navBreadcrumb">
            <ul>
                <li>域名管理</li>
                <li><a href="/domain/tpl">我的模板</a></li>
            </ul>
        </div>
        <div class="panel">
            <div class="sub_nav_container">
                <ul class="clearfix">
                    <li class="active"><a href="/domain/tpl">我的模板</a></li>
                    <li><a href="/domain/tpl/add">创建模板</a></li>
                </ul>
            </div>
            <form action="/domain/tpl/add" id="queryForm">
                <div class="search_cond_wrap">
                    <div>
                        <span>类型：</span>
                        <select name="lx">
                            <option value="">请选择</option>
                            <option value="1">个人</option>
                            <option value="2">企业</option>
                        </select>&ensp;
                        <span>状态：</span>
                        <select name="zt">
                            <option value="">请选择</option>
                            <option value="3">白名单</option>
                            <option value="1">等待认证上传</option>
                            <option value="2">认证已上传</option>
                            <option value="4">审核失败</option>
                        </select>&ensp;
                        <span>邮箱：</span>
                        <input type="text" name="email" placeholder="请输入邮箱进行搜索" id="search_text">&ensp;
                        <input type="hidden" name="pageSize" value="50">
                        <a href="javascript:;" class="btn btn_primary" id="queryBtn">搜索</a>&nbsp;
                        <a href="javascript:;" class="btn btn_default" id="resetBtn">重置</a>
                    </div>
                </div>
            </form>
            <section class="mainResult">
                搜索结果<span class="text_orange">（<span id="total-rows">0</span>）</span>
            </section>
            <table class="table_style">
                <thead>
                <tr>
                    <th>模板名称</th>
                    <th style="width:20%">持有人</th>
                    <th style="width:15%">邮箱</th>
                    <th style="width:10%">状态</th>
                    <th style="width:260px">操作</th>
                </tr>
                </thead>
                <tbody class="template_list">
                <tr>
                    <td colspan="5" class="text_center">没有查询到相关的模板</td>
                </tr>
                </tbody>
                <tfoot>
                <tr>
                    <td colspan="5">
                        <div style="text-align: right">
                            每页&ensp;
                            <select name="pageSize" id="pageSize">
                                <option value="50">50</option>
                                <option value="100">100</option>
                                <option value="200">200</option>
                                <option value="300">300</option>
                            </select>&ensp;
                            条
                            <div class="pagination" style="display: inline-block;"><span
                                        class="disabled">&lt;</span><span class="disabled">&gt;</span></div>
                        </div>
                    </td>
                </tr>
                </tfoot>
            </table>
        </div>
        <div class="warm_prompt">
            <div class="title">
                温馨提示
            </div>
            <ul>
                <li>模板内容分为三部分：邮箱、认证资料、模板信息，只有三项都审核通过后模板才会是白名单状态，仅有白名单状态的模板才可以进行域名注册、过户、PUSH接收。</li>
            </ul>
        </div>
    </div>
@endsection
@section('script')
    <script>
        $(function () {
            var link = $("#domain-tpl");
            link.parent().parent().parent().addClass("active");
            link.parent().addClass("active");
        });
    </script>
@endsection
